

        <g:set var="entityName" value="${message(code: 'plan.label', default: 'Plan')}" />
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                            <th><g:message code="plan.classes.label" default="Classes" /></th>
                   	    
                            <g:sortableColumn property="week" title="${message(code: 'plan.week.label', default: 'Week')}" />
                        
                            <th><g:message code="plan.teacher.label" default="Teacher" /></th>
                   	    
                            <g:sortableColumn property="course" title="${message(code: 'plan.course.label', default: 'Course')}" />
                        
                            <th><g:message code="plan.restTime.label" default="Rest Time" /></th>
                   	    
                            <th><g:message code="plan.school.label" default="School" /></th>
                   	    
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${planInstanceList}" status="i" var="planInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${planInstance.id}">${fieldValue(bean: planInstance, field: "classes")}</g:link></td>
                        
                            <td>${fieldValue(bean: planInstance, field: "week")}</td>
                        
                            <td>${fieldValue(bean: planInstance, field: "teacher")}</td>
                        
                            <td>${fieldValue(bean: planInstance, field: "course")}</td>
                        
                            <td>${fieldValue(bean: planInstance, field: "restTime")}</td>
                        
                            <td>${fieldValue(bean: planInstance, field: "school")}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${planInstanceTotal}" />
            </div>
